export enum operateActionType {
  ADD = 'add',
  VIEW = 'view',
  EDIT = 'edit',
  AUTH = 'auth',
  ENABLE = 'enable',
  UNABLE = 'unable'
}

export const operateTxtType = {
  [operateActionType.ADD]: '新增',
  [operateActionType.VIEW]: '查看',
  [operateActionType.EDIT]: '编辑',
  [operateActionType.AUTH]: '授权',
  [operateActionType.ENABLE]: '启用',
  [operateActionType.UNABLE]: '停用'
}

export const constantMap = {
  tableYHeight: 'calc(100vh - 400px)',
  // tableYHeight: '540px',
  tableXWidth: 'max-content'
}
